package com.community.contents.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 用户关注的圈子表
 * </p>
 *
 * @author hjs
 * @since 2023-02-28
 */
@TableName("t_topic_user")
@ApiModel(value = "TopicUser对象", description = "用户关注的圈子表")
@Data
public class TopicUserEntity implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("ID")
        @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty("圈子ID")
      private Integer topicId;

      @ApiModelProperty("用户ID")
      private Integer userId;

      @ApiModelProperty("关注时间")
      private Date createTime;

    

}
